package com.yhp.service.userservice;

import com.yhp.bo.CenterUserBO;
import com.yhp.bo.OrderItemBO;
import com.yhp.bo.OrderItemsCommentBO;
import com.yhp.pojo.OrderItems;
import com.yhp.pojo.Users;
import com.yhp.utils.PagedGridResult;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface CenterCommentService {
    //查询订单的详细信息
    public List<OrderItems> queryPendingComment(String orderId);

    //保存评论信息
    public void saveComment(String userId,
                            String orderId,
                            List<OrderItemsCommentBO> commentList);
    //查询我的评论列表
    public PagedGridResult queryMyComment(String userId, Integer page,Integer pageSize);

}
